﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Attendance.Model;

namespace EzDesk.Attendance.AttendanceImpl.Filters
{
    public static class AttendanceEvaluationInfoFilters
    {
        public static IQueryable<CustomizedShiftWork> ByUserIdAndDay(this IQueryable<CustomizedShiftWork> query, Guid userId, DateTime day)
        {
            return query.Where(q => q.UserId == userId && q.Day == day);
        }
    }
}
